.menu-type-container {
    display: flex;
    align-items: center;
    width: 100%;

    > i {
        cursor: pointer;
        font-size: 14px;
        color: $cw-color-text-2;

        &:hover {
            border-radius: 50%;
            background: $cw-color-bg-1;
        }
    }

    &.line-container {
        width: 100%;
        height: 50px;
        background-image: linear-gradient(transparent 49px, rgb(230, 233, 238) 1px);
    }

    .card {
        display: inline-block;
        margin-right: 4px;
        padding: 8px 16px;
        cursor: pointer;
        position: relative;
        font-weight: 400;
        color: $cw-color-text-1;
        background: #EDF0F5;
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;

        span {
            display: inline-block;
            padding: 0 2px;
            color: $cw-color-text-2;
            font-size: 13px;
        }

        &:hover {
            background: $cw-color-bg-3;

            span {
                color: $cw-color-primary;
            }
        }

        &.active {
            background: #FFF;
            color: $cw-color-primary;
            position: relative;

            span {
                color: $cw-color-primary;
            }

            &::before {
                left: 0;
                bottom: -1px;
                content: "";
                width: 100%;
                height: 1px;
                background: #fff;
                position: absolute;
                z-index: 99;
            }
        }

        &.border-li {
            border: 1px solid #E6E9EE;
            border-bottom: none;
        }
    }

    .line {
        box-sizing: border-box;
        font-weight: 400;
        display: inline-block;
        padding: 0 0 13px 0;
        color: $cw-color-text-1;
        cursor: pointer;
        position: relative;
        margin: 0 16px;
        height: 50px;
        line-height: 50px;

        &.active {
            font-weight: 500;
            color: $cw-color-text-0;
            border-bottom: 3px solid $cw-color-primary;
        }

        &:hover {
            color: #1E252E;
        }
    }

    .text-content {
        height: 28px;
        overflow: hidden;

        ul {
            transition: transform .5s;
            display: flex;
            align-items: center;
        }
    }

    .text {
        display: inline-block;
        height: 28px;
        cursor: pointer;
        font-weight: 400;
        white-space: nowrap;
        -webkit-appearance: none;
        text-align: center;
        vertical-align: middle;
        font-size: 14px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: $cw-color-text-1;
        margin-right: 8px;
        padding: 4px 12px;

        &:last-child {
            margin-right: 0;
        }

        &:hover {
            background: $cw-color-bg-1;
            border-radius: 3px;

            .count-container {
                color: $cw-color-primary;
            }
        }

        &.active {
            position: relative;
            z-index: 1;
            background: $cw-color-bg-1;
            color: $cw-color-primary;
            border-radius: 3px;
            -webkit-transition: background-color .3s ease;
            transition: background-color .3s ease;

            .count-container {
                color: $cw-color-primary;
            }
        }
    }

    .disable {
        cursor: not-allowed;
        color: #B2BDCC;
    }

    .capsule {
        display: inline-block;
        height: 28px;
        cursor: pointer;
        font-weight: 400;
        text-align: center;
        font-size: 14px;
        box-sizing: border-box;
        color: #475468;
        line-height: 14px;
        padding: 4px 18px;
        background: #EDEFF3;
        border: 3px solid #EDEFF3;

        &.active {
            color: #1E252E;
            background: #ffffff;
            font-weight: 550;
        }

        &:hover {
            color: #475468;
            background: #ffffff;
        }
    }
}
